package com.cu.model

/**
  * @author jintian
  * @date 2018/11/28 10:20
  */
class Person(var name: String, var age: Int, var sex: String) {

  def getName: String = {
    return name;
  }

  def getAge: Int = {
    return age;
  }

  def getSex: String = {
    return sex;
  }

  def setName(name: String): Unit = {
    this.name = name;
  }

  def setAge(age: Int): Unit = {
    this.age = age;
  }

  def setSex(sex: String): Unit = {
    this.sex = sex;
  }
}
